package me.zhengjie.modules.detailed_subject.controller;

import me.zhengjie.config.R;
import me.zhengjie.modules.system.domain.User;
import me.zhengjie.modules.system.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/register")
@CrossOrigin
public class RegisterController {

    @Autowired
    private UserService userService;

    @PostMapping("regise")
    public R regise(@RequestBody User user){

        return  R.success();
    }
}
